<?php
apf_require_page("Portal_Layout_Default");

class Report_EntryViewPage extends Portal_Layout_DefaultPage {
    public function get_view () {
        return "EntryView";
    }
    public static function use_boundable_styles() {
        $path = apf_classname_to_path(__CLASS__);
        return array_merge(parent::use_boundable_styles(), array($path."EntryView.css"));
    }

    public static function use_boundable_javascripts(){
        $path = apf_classname_to_path(__CLASS__);
        return array_merge(parent::use_boundable_javascripts(), array($path."EntryView.js"));
    }

    public function get_title(){
        $attributes = $this->request->get_attributes();
        $t = '在职列表';
        if($attributes['params']['title']){
            $t .= '-'.$attributes['params']['title'];
        }
        return $t;
    }
}